package com.zjtaixue.usersite.service;

import com.zjtaixue.usersite.domain.College;
import com.zjtaixue.usersite.page.PageResult;
import com.zjtaixue.usersite.query.CollegeQueryObject;

import java.util.List;

public interface CollegeService {
    /**
     * 学院的高级查询加分页
     *
     * @param qo
     * @return
     */
    PageResult<College> listPageResult(CollegeQueryObject qo);

    int insert(College college);

    College getById(Integer id);

    void update(College college);

    int deleteById(Integer id);

    List<College> listAllColleges();
}
